-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Only run specified integration tests with firefox #8603
Conversation
fec22b8
to
3660513
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
This changes it so you have to mark integration tests you want to run in firefox with `@firefox`. We've been skipping a few of them and had often flakiness issues, probably due to microsoft/playwright#12182.
e89c47e
to
d02b5cc
Compare
size-limit report 📦
|
@@ -5,7 +5,7 @@ window.Replay = new Sentry.Replay({ | |||
flushMinDelay: 200, | |||
flushMaxDelay: 200, | |||
minReplayDuration: 0, | |||
slowClickTimeout: 3100, | |||
slowClickTimeout: 3500, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed this as it was sometimes flaky with the 3000
min threshold.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah this seems fine for me
As a possible fix for #8589, this sets up our integration tests to only run tests in firefox when the test contains
@firefox
. This way, we manually tag tests we want to run in firefox, as the tests are quite often flaky.We may think about reverting this once microsoft/playwright#12182 is fixed.
Note that to do this, I changed our usage of
browser
to instead useproject
(which appears anyhow the recommended way to do this nowadays).Note that this also has the advantage that the "default" and chromium are the same thing now, previously when running
yarn test
it would actually use chromium under the hood but not generate snapshots etc. as chromium, now this should be more explicit.I've only added stuff that had explicit firefox things right now (e.g. stacktrace stuff, ...), not sure if there are other things we also want to make sure to run in FF?